package reliability.model;

import java.util.EventObject;

public class GraphModelEvent
    extends EventObject
{
    public static final int SELECTION_CHANGED = 0;
    public static final int GRAPH_UPDATED = 1;
    public static final int GRAPH_INIT = 2;

    private int id;

    public GraphModelEvent(GraphModel source, int id)
    {
        super(source);
        this.id = id;
    }

    public int getId()
    {
        return id;
    }
}
